<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:53:"E:\WWW\waimai/app/wechat/user\view\account\index.html";i:1505792895;s:53:"E:\WWW\waimai/app/wechat/user\view\template\base.html";i:1502096399;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>外卖</title>
    <link rel="stylesheet" href="__STATIC__/css/mui.min.css">
    <link rel="stylesheet" href="__STATIC__/css/ks.css">
    
    <script>
        var root_path = "<?php echo \think\Request::instance()->root(); ?>";
        var require_path = "__STATIC__/app";
    </script>
    <script src="__STATIC__/app/plugin/wechat/weixin.js"></script>
    <script src="__STATIC__/app/require.js"></script>
    <script src="__STATIC__/app/require.config.js"></script>
    <script src="__STATIC__/app/plugin/jquery-3.2.1.min.js"></script>
    <script src="__STATIC__/app/plugin/mui/mui.min.js"></script>
    
</head>
<body>



<header class="header">
    <div>
        <a class="goback"><i class="iconfont icon-zuoyoujiantou-copy-copy-copy"></i></a>
        账户信息
    </div>
</header>
<div class="pages">
    <div class="list-form other">
        <ul id="info_ul">
            <template>
            <li>
                <span>当前余额</span>
                <div class="text-center" style="height: 60px;line-height:60px;font-size: 24px;">{{info.money}}元</div>
            </li>
            </template>
        </ul>
    </div>
    <div class="list-form other has-b">
        <ul class="title-gray">
            <li>
                交易明细
            </li>
        </ul>
        <div style="position: relative;height: calc(100vh - 236px);font-size: 12px">
            <div id="refreshContainer" class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <ul id="data_ul" class="mui-table-view mui-table-view-chevron">
                        <template v-for="item in items">
                            <li v-for="vo in item">
                                <div class="info-detail">
                                    <span>￥{{vo.pay_money}}</span>
                                    <span>{{vo.remark}}</span>
                                    <span>{{vo.add_time}}</span>
                                </div>
                            </li>
                        </template>
                        <!--<li>-->
                        <!--<div class="info-detail">-->
                        <!--<span>100</span>-->
                        <!--<span>充值</span>-->
                        <!--<span>2017-06-01 11:20:20</span>-->
                        <!--</div>-->
                        <!--</li>-->
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <footer class="btn-bottom-double">
        <div id="vue_div">
            <!--<a href="" class="color-primary">消费</a>-->
            <a @tap="recharge_btn()" class="color-primary">充值</a>
            <!--<a @tap="withdraw_btn()" style="background-color: green;color: white">提现</a>-->
        </div>
    </footer>
</div>


</body>
<script>

    if(document.querySelector('.goback')!==null){

        document.querySelector('.goback').addEventListener('tap', function () {
            history.back();
        })
    }
</script>

<script>
    var list_url = "<?php echo url('user/Account/account_bill'); ?>";
    var recharge_url = "<?php echo url('user/Account/recharge'); ?>";
    var withdraw_url = "<?php echo url('user/Account/withdraw'); ?>";
    var account_url = "<?php echo url('user/Account/get_account'); ?>";
    require(['user/account/index']);
</script>

</html>